package com.kws.merchant.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;


/**
 * @author : zhangbenting
 * @date : 2024/11/8 10:21
 * @Version: 1.0
 */
@Data
public class UserRemarkVo {

    @ApiModelProperty("评论人")
    private String observer;

    @ApiModelProperty("评论人头像")
    private String observerPortrait;

    @ApiModelProperty("商品ID")
    private Long goodsId;

    @ApiModelProperty("商品名称")
    private String goodsName;

    @ApiModelProperty("商品图片")
    private String goodsImg;

    @ApiModelProperty("评论")
    private String remark;

    @ApiModelProperty("评论图片")
    private String remarkImg;

    @ApiModelProperty("评论图片列表")
    private List<String> remarkImgList;

    @ApiModelProperty("商品评价星级")
    private Integer starLevel;

    @ApiModelProperty("商品类型(0设备 1服务)")
    private Integer goodsType;

    @ApiModelProperty("评价时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

}
